import Runloop from '@runloop/api-client';
const client = new Runloop({
bearerToken: process.env['RUNLOOP_API_KEY'], // This is the default and can be omitted
});
const axonView = await client.axons.create();
console.log(axonView.id);{
"id": "<string>",
"created_at_ms": 123,
"name": "<string>"
}[Beta] Create a new axon.
import Runloop from '@runloop/api-client';
const client = new Runloop({
bearerToken: process.env['RUNLOOP_API_KEY'], // This is the default and can be omitted
});
const axonView = await client.axons.create();
console.log(axonView.id);{
"id": "<string>",
"created_at_ms": 123,
"name": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
(Optional) Name for the axon.
Was this page helpful?